package cn.edu.sdjzu.xg.eagle.bysj.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;


/**
 * 员工出差申请
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2025-06-02 13:29:29
 */
@TableName("yuangongchuchashenqing")
public class YuangongchuchashenqingEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public YuangongchuchashenqingEntity() {
		
	}
	
	public YuangongchuchashenqingEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 员工工号
	 */
					
	private String yuangonggonghao;
	
	/**
	 * 员工姓名
	 */
					
	private String yuangongxingming;
	
	/**
	 * 部门
	 */
					
	private String bumen;
	
	/**
	 * 出差时间
	 */
					
	private String chuchashijian;
	
	/**
	 * 出差原因
	 */
					
	private String chuchayuanyin;
	
	/**
	 * 出差地
	 */
					
	private String chuchadi;
	
	/**
	 * 出差天数
	 */
					
	private String chuchatianshu;
	
	/**
	 * 备注
	 */
					
	private String beizhu;
	
	/**
	 * 申请时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date shenqingshijian;
	
	/**
	 * 是否审核
	 */
					
	private String sfsh;
	
	/**
	 * 回复内容
	 */
					
	private String shhf;
	

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：员工工号
	 */
	public void setYuangonggonghao(String yuangonggonghao) {
		this.yuangonggonghao = yuangonggonghao;
	}
	/**
	 * 获取：员工工号
	 */
	public String getYuangonggonghao() {
		return yuangonggonghao;
	}
	/**
	 * 设置：员工姓名
	 */
	public void setYuangongxingming(String yuangongxingming) {
		this.yuangongxingming = yuangongxingming;
	}
	/**
	 * 获取：员工姓名
	 */
	public String getYuangongxingming() {
		return yuangongxingming;
	}
	/**
	 * 设置：部门
	 */
	public void setBumen(String bumen) {
		this.bumen = bumen;
	}
	/**
	 * 获取：部门
	 */
	public String getBumen() {
		return bumen;
	}
	/**
	 * 设置：出差时间
	 */
	public void setChuchashijian(String chuchashijian) {
		this.chuchashijian = chuchashijian;
	}
	/**
	 * 获取：出差时间
	 */
	public String getChuchashijian() {
		return chuchashijian;
	}
	/**
	 * 设置：出差原因
	 */
	public void setChuchayuanyin(String chuchayuanyin) {
		this.chuchayuanyin = chuchayuanyin;
	}
	/**
	 * 获取：出差原因
	 */
	public String getChuchayuanyin() {
		return chuchayuanyin;
	}
	/**
	 * 设置：出差地
	 */
	public void setChuchadi(String chuchadi) {
		this.chuchadi = chuchadi;
	}
	/**
	 * 获取：出差地
	 */
	public String getChuchadi() {
		return chuchadi;
	}
	/**
	 * 设置：出差天数
	 */
	public void setChuchatianshu(String chuchatianshu) {
		this.chuchatianshu = chuchatianshu;
	}
	/**
	 * 获取：出差天数
	 */
	public String getChuchatianshu() {
		return chuchatianshu;
	}
	/**
	 * 设置：备注
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	/**
	 * 获取：备注
	 */
	public String getBeizhu() {
		return beizhu;
	}
	/**
	 * 设置：申请时间
	 */
	public void setShenqingshijian(Date shenqingshijian) {
		this.shenqingshijian = shenqingshijian;
	}
	/**
	 * 获取：申请时间
	 */
	public Date getShenqingshijian() {
		return shenqingshijian;
	}
	/**
	 * 设置：是否审核
	 */
	public void setSfsh(String sfsh) {
		this.sfsh = sfsh;
	}
	/**
	 * 获取：是否审核
	 */
	public String getSfsh() {
		return sfsh;
	}
	/**
	 * 设置：回复内容
	 */
	public void setShhf(String shhf) {
		this.shhf = shhf;
	}
	/**
	 * 获取：回复内容
	 */
	public String getShhf() {
		return shhf;
	}

}
